<script setup lang="ts">
const {waterForm} = defineProps<{
  waterForm: Object;  // 定义采样时间的类型
}>();

</script>

<template>
  <el-card class="box-card">
    <div style="text-align: center;display: flex;align-items: center;justify-content: space-between">
      <div></div>
      <h1>固废浸出液 顶空-气相色谱质谱法分析原始记录（一）（B面）</h1>
      <div></div>
    </div>
    <div style="display: flex;justify-content: space-between">
      <p style="margin: 0">SXLPHJ/JL/CX-22-138</p>
      <div style="display: flex;align-items: center;">
        <span style="width: 140px;">配置日期：</span>
        <el-input style="border: 1px solid #ccc;border-radius: 6px" placeholder="请输入"
                  v-model="waterForm.pzrq"></el-input>
      </div>
    </div>
    <div style="display: flex;">
      <table class="table" style="width: 200%;">
        <tr>
          <td colspan="9">
            溶液配制
          </td>
        </tr>
        <tr>
          <td>序号</td>
          <td>标准贮备液编号</td>
          <td>贮备液有效日期</td>
          <td>移取贮备液体积(μL)</td>
          <td>定容体积(mL)</td>
          <td>中间液浓度()</td>
          <td>移取中间液体积（μL）</td>
          <td>定容体积(mL)</td>
          <td>使用液浓度()</td>
        </tr>
        <tr v-for="(item,index) in waterForm.rypz" :key="index">
          <td>{{ index + 1 }}</td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_bzxbybh"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_zbyyxrq"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_yqzbytj"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_drtj"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_zjynd"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_yqzjytj"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_drtj2"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.ry_syynd"></el-input>
          </td>
        </tr>
      </table>
      <table class="table">
        <tr>
          <td colspan="5">校准曲线配制</td>
        </tr>
        <tr>
          <td>待测物使用液加入量(μL)</td>
          <td>替代物使用液加入量(μL)</td>
          <td>内标使用液加入量(μL)</td>
          <td>定容体积( )</td>
          <td>曲线浓度（ ）</td>
        </tr>
        <tr v-for="(item,index) in waterForm.jzqxpz" :key="index">
          <td>
            <el-input placeholder="请输入"
                      v-model="item.jz_bzrynd"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.jz_tdwsyyjrl"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.jz_nbsyyjrl"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.jz_qxnd"></el-input>
          </td>
          <td>
            <el-input placeholder="请输入"
                      v-model="item.jz_bz"></el-input>
          </td>
        </tr>
      </table>
    </div>
    <table class="table">
      <tr>
        <td colspan="15">曲线信息见 页。</td>
      </tr>
      <tr>
        <td rowspan="5">平行样</td>
        <td>样品编号</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>是否合格</td>
      </tr>
      <tr v-for="(item,index) in waterForm.pxy" :key="index">
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sample_sn1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_zkyq"></el-input>
        </td>
      </tr>
      <tr>
        <td rowspan="6">加标样</td>
        <td>样品编号</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>替代物</td>
        <td>测定值（μg/L）</td>
        <td>相对偏差（%）</td>
        <td>是否合格</td>
        <td>是否合格</td>
      </tr>
      <tr v-for="(item,index) in waterForm.jby" :key="index">
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sample_sn1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc1"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg2"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_tdw3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_cdz3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_xdpc3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_sfhg3"></el-input>
        </td>
        <td>
          <el-input placeholder="请输入"
                    v-model="item.px_zkyq"></el-input>
        </td>
      </tr>
      <tr>
        <td>加标信息</td>
        <td colspan="14">
          <el-input placeholder="请输入"
                    v-model="waterForm.jbxx"></el-input>
        </td>
      </tr>
      <tr>
        <td colspan="2">
          样品替代物的回收率
        </td>
        <td colspan="13">
          <el-input placeholder="请输入"
                    v-model="waterForm.yptdwhsl"></el-input>
        </td>
      </tr>
      <tr>
        <td>
          备注
        </td>
        <td colspan="13">
          <el-input placeholder="请输入"
                    v-model="waterForm.bnotes"></el-input>
        </td>
      </tr>
    </table>

  </el-card>
</template>

<style scoped lang="scss">
.card {
  padding: 20px 25px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  /* 表格边框合并 */
  text-align: left;
  /* 默认左对齐 */
  font-size: 14px;
  /* 字体大小 */
  color: #606266;
  /* 默认字体颜色 */
  margin-bottom: 20px;
}

.table th,
.table td {
  border: 1px solid #c2bfbf;
  /* 表格单元格边框颜色 */
  padding: 12px;
  /* 单元格内边距 */
  text-align: center;
}

.table th {
  background: #f5f7fa;
  /* 表头背景色 */
  font-weight: 600;
  /* 表头字体加粗 */
  color: #303133;
  /* 表头字体颜色 */
  text-align: center;
  /* 表头居中 */
}


.table-td {
  display: flex;
}

::v-deep .el-input__wrapper {
  background-color: transparent;
  box-shadow: none;
}

::v-deep .el-select__wrapper {
  background-color: transparent;
  box-shadow: none;
}

::v-deep .el-input-group__append {
  background-color: transparent;
  box-shadow: none;
}
</style>
